﻿#region File Header

/* File Name    : StatusMessage.cs
 * Description  : A status message on a user's wall as represented in the Graph API.
 * Log
 * Date             Author              Description
 * 15-Oct-2011      Robin Jome          Created the class
 * 19-Oct-2011      Robin Jome          GetPostData() method added
 */

#endregion

#region Namespaces

using System.Text;
using FacebookAPI.FacebookProperties;
using System.Runtime.Serialization;

#endregion

namespace FacebookAPI.Objects
{
    #region Class

    [DataContract]
    public class StatusMessage : FacebookBaseObject
    {
        #region Properties

        [DataMember(Name = "from", EmitDefaultValue = true, IsRequired = false)]
        public FacebookBaseObject From { get; set; }

        [DataMember(Name = "message", EmitDefaultValue = true, IsRequired = false)]
        public string Message { get; set; }

        [DataMember(Name = "updated_time", EmitDefaultValue = true, IsRequired = false)]
        public string Updated_Time { get; set; }

        [DataMember(Name = "place", EmitDefaultValue = true, IsRequired = false)]
        public FacebookBaseObject Place { get; set; }

        #endregion
    }

    #endregion
}
